github.com/google/go-cmp/cmp.formatOptions.FormatDiff (method)
13 uses
github.com/google/go-cmp/cmp (current package)
report.go#L45: text := formatOptions{}.FormatDiff(r.root, ptrs)
report_compare.go#L98: func (opts formatOptions) FormatDiff(v *valueNode, ptrs *pointerReferences) (out textNode) {
report_compare.go#L171: out := opts.WithTypeMode(emitType).FormatDiff(v.Value, ptrs)
report_compare.go#L192: out = opts.FormatDiff(v.Value, ptrs)
report_compare.go#L196: out = opts.WithTypeMode(emitType).FormatDiff(v.Value, ptrs)
report_compare.go#L267: if out := opts.FormatDiff(r.Value, ptrs); out != nil {
report_compare.go#L315: out := opts.WithDiffMode(diffIdentical).FormatDiff(r.Value, ptrs)
report_compare.go#L327: out := opts.WithDiffMode(diffIdentical).FormatDiff(r.Value, ptrs)
report_compare.go#L343: outx := opts.WithDiffMode(diffRemoved).FormatDiff(r.Value, ptrs)
report_compare.go#L344: outy := opts.WithDiffMode(diffInserted).FormatDiff(r.Value, ptrs)
report_compare.go#L347: outx = opts2.WithDiffMode(diffRemoved).FormatDiff(r.Value, ptrs)
report_compare.go#L348: outy = opts2.WithDiffMode(diffInserted).FormatDiff(r.Value, ptrs)
report_compare.go#L359: out := opts.FormatDiff(r.Value, ptrs)